home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / B-C / C++ FAQ Reference 1.0.sit / C++ FAQ Reference 1.0.rsrc / TEXT_728.txt < prev    next >
Encoding:
Text File  |  1993-06-30  |  299 b   |  4 lines

  1. The pointed-to-data.
  2.  
  3. When you read 'delete p', say to yourself 'delete the thing pointed to by p'. One could argue that the keyword is misleading, but the same abuse of English occurs when 'free'ing the memory pointed to by a ptr in C:
  4.     free(ptr);    /* why not 'free_the_stuff_pointed_to_by(p)' ?? */